﻿Shader "hamwj1991/AlchemyAO" {
	Properties {
		_MainTex("MainTex", 2D) = "white" {}
		Radius("Radius", Range(0, 1)) = 0.6
		Bias("Bias", Range(0, 0.01)) = 0.0001
		NumSamples("NumSamples", int) = 10
		Intensity("Intensity", Range(0,1)) = 1
	}
	SubShader {
		Tags { "RenderType"="Opaque" }
		Cull Off
		ZWrite Off
		ZTest NotEqual
		Pass {
			CGPROGRAM
			#pragma vertex vert
			#pragma fragment frag
			#include "VertexCommon.hlsl"
			#include "AlchemyAO.hlsl"
			ENDCG
		}
	}
}